<?php
$a = [1,2,3,4];
//$keys = [1,2];    $KEY 必须为单个key
var_dump(array_key_exists($keys, $a));